package com.woniu.dto;

import com.woniu.pojo.GoodsDetail;
import com.woniu.pojo.Vendor;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.List;

@NoArgsConstructor
@Data
@AllArgsConstructor
public class Shop {
    private Long id;

    private Long vendorId;  //商户id

    private String title; //商品名字

    private String description; //介绍

    private Double price; //单价

    private Date createTime; //创建时间

    private Integer stock; //上架数量

    private Integer status; //状态

    private String goodsType; //商品类型

    private Integer likeNum; //点击量

    private Date updateTime; //更新时间

    private  List<ShopXq> shopXqs;

}
